package com.sh.data.engine.application.model.request.normalization;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author : changkong
 * @date : 2022/1/7
 */
@Data
@Builder
@Schema
@NoArgsConstructor
@AllArgsConstructor
public class SaveFactRowRequest {

    @NotNull
    @Schema(description = "主题id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long themeId;

    @NotNull
    @Schema(description = "事实行id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long factRowId;

    @NotBlank
    @Schema(description = "事实行名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String factRowName;

    @Schema(description = "事实行描述")
    private String factRowDesc;

    @Schema(description = "修改的模型id")
    private Long modelId;
}
